首页> 外文OA文献 >Automatic Termination Analysis of Programs Containing Arithmetic Predicates
【2h】

Automatic Termination Analysis of Programs Containing Arithmetic Predicates

机译:含算术程序的自动终止分析   谓词

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

For logic programs with arithmetic predicates, showing termination is noteasy, since the usual order for the integers is not well-founded. A new method,easily incorporated in the TermiLog system for automatic termination analysis,is presented for showing termination in this case. The method consists of the following steps: First, a finite abstract domainfor representing the range of integers is deduced automatically. Based on thisabstraction, abstract interpretation is applied to the program. The result is afinite number of atoms abstracting answers to queries which are used to extendthe technique of query-mapping pairs. For each query-mapping pair that ispotentially non-terminating, a bounded (integer-valued) termination function isguessed. If traversing the pair decreases the value of the terminationfunction, then termination is established. Simple functions often suffice foreach query-mapping pair, and that gives our approach an edge over the classicalapproach of using a single termination function for all loops, which mustinevitably be more complicated and harder to guess automatically. It is worthnoting that the termination of McCarthy's 91 function can be shownautomatically using our method. In summary, the proposed approach is based on combining a finite abstractionof the integers with the technique of the query-mapping pairs, and isessentially capable of dividing a termination proof into several cases, suchthat a simple termination function suffices for each case. Consequently, thewhole process of proving termination can be done automatically in the frameworkof TermiLog and similar systems.
机译:对于带有算术谓词的逻辑程序,显示终止并不容易,因为整数的通常顺序并不充分。提出了一种新的方法,可以轻松地将其合并到TermiLog系统中以进行自动终止分析,以显示这种情况下的终止。该方法包括以下步骤:首先,自动推导用于表示整数范围的有限抽象域。基于此抽象,将抽象解释应用于该程序。结果是无限数量的原子抽象了查询的答案,用于扩展查询映射对的技术。对于每个可能非终止的查询映射对,都会猜测一个有界(整数值)终止函数。如果遍历该对时减小了终止函数的值,则建立终止。对于每个查询映射对,简单函数通常就足够了,这使我们的方法比在所有循环中使用单个终止函数的经典方法更具优势,这必然会变得更加复杂且难以自动猜测。值得注意的是,可以使用我们的方法自动显示McCarthy 91函数的终止。综上,所提出的方法是基于将整数的有限抽象与查询映射对的技术相结合的,并且本质上能够将终止证明划分为几种情况,从而对于每种情况而言,简单的终止函数就足够了。因此,证明终止的整个过程可以在TermiLog和类似系统的框架中自动完成。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号